1/1
FPGA-based switch
by pegetive on May 10, 2012 |
pegetive
Posts: 3 Joined: May 10, 2012 Last seen: May 22, 2012 |
||
Hi all,
I want to implement a switch on "xilinx" board but I don't know what to do with the data comes to a port of the switch and how to convert the data to voltage signal and recognize the MAC address and then how to forward it. I know switch is the device of layer 2 and 1. Does anyone know anything about this problem or have any project in verilog? Thanks. |
RE: FPGA-based switch
by tbernath on May 10, 2012 |
tbernath
Posts: 4 Joined: Jun 9, 2008 Last seen: Jul 22, 2024 |
||
Have you tried google? I type in 'xilinx ethernet switch' and there are a hundred references, whitepapers and such....
I think you will find it is more complicated than you think since most low end boards have a single ethernet port, so if you really want to build a multiport switch, you are in to $1000+ boards. At that point, I would recommend that you look at the old 1G NetFpga from Stanford. The board is available from Digilent http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,796&Prod=NETFPGA This is OLD since Virtex2 is no longer supported in xilinx tools, you need version 10 or older. The new NetFPGA version is 10G and available from hitech global: http://www.hitechglobal.com/Boards/PCIExpress_SFP+.htm There are a hundred or so designs available for the 1g board, and the 10g is just starting to get support. Once you see how much code goes in to the boards for all the pieces, you will understand my initial comment that you probably dont want to build one of these from scratch. Good Luck, and expect months or years of time and training to get reasonably proficient, not a weekend task for a newbie. TMB |
RE: FPGA-based switch
by ghutchis on May 10, 2012 |
ghutchis
Posts: 15 Joined: Apr 21, 2004 Last seen: Aug 30, 2024 |
||
The srdy-drdy library is a library of components which have been used in networking designs. It has a two different implementations of an ethernet switch in the examples directory. Note that these are not production-ready but an illustration of how to use the components in the library; nonetheless they do illustrate some of the basic principles of a bridge.
|
RE: FPGA-based switch
by pegetive on May 11, 2012 |
pegetive
Posts: 3 Joined: May 10, 2012 Last seen: May 22, 2012 |
||
Have you tried google? I type in 'xilinx ethernet switch' and there are a hundred references, whitepapers and such....
I think you will find it is more complicated than you think since most low end boards have a single ethernet port, so if you really want to build a multiport switch, you are in to $1000+ boards. At that point, I would recommend that you look at the old 1G NetFpga from Stanford. The board is available from Digilent http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,796&Prod=NETFPGA This is OLD since Virtex2 is no longer supported in xilinx tools, you need version 10 or older. The new NetFPGA version is 10G and available from hitech global: http://www.hitechglobal.com/Boards/PCIExpress_SFP+.htm There are a hundred or so designs available for the 1g board, and the 10g is just starting to get support. Once you see how much code goes in to the boards for all the pieces, you will understand my initial comment that you probably dont want to build one of these from scratch. Good Luck, and expect months or years of time and training to get reasonably proficient, not a weekend task for a newbie. TMB This is one of my projects I've been assigned to do at FPGA laboratory. I should do my project on Spartan 3, 400k gate board. I suggested NetFPGA but my teacher didn't accept. I searched on google but what I want to know is the data communication at the first step. Thanks for your reply! |
RE: FPGA-based switch
by pegetive on May 11, 2012 |
pegetive
Posts: 3 Joined: May 10, 2012 Last seen: May 22, 2012 |
||
The srdy-drdy library is a library of components which have been used in networking designs. It has a two different implementations of an ethernet switch in the examples directory. Note that these are not production-ready but an illustration of how to use the components in the library; nonetheless they do illustrate some of the basic principles of a bridge.
Would you please tell me where can I get this library? Or the specifications of it's implementation...? Thanks! |
RE: FPGA-based switch
by ghutchis on May 11, 2012 |
ghutchis
Posts: 15 Joined: Apr 21, 2004 Last seen: Aug 30, 2024 |
||
The srdy-drdy library is a library of components which have been used in networking designs. It has a two different implementations of an ethernet switch in the examples directory. Note that these are not production-ready but an illustration of how to use the components in the library; nonetheless they do illustrate some of the basic principles of a bridge.
Would you please tell me where can I get this library? Or the specifications of it's implementation...? Thanks! It's hosted here on opencores: http://opencores.org/project,srdydrdy_lib The designs are meant to be code examples, so they deliberately omit many of the special cases of a networking bridge. |
1/1